import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import router from './router/index';
import store from "./store/index"
import * as echarts from 'echarts';
import Button from "@/components/Button.vue"
import 'animate.css/animate.min.css'
import Modal from "@/components/Modal.vue";
import { ElIcon } from "element-plus"


const app = createApp(App)
app.config.globalProperties.$echarts = echarts
app.component('Button',Button);
app.component('Modal',Modal);
app.component('el-icon',ElIcon)
app.use(ElementPlus)
app.use(router)
app.use(store)
app.mount('#app')